package com.grm.enums;

import lombok.Getter;

/**
 * desc: 状态码枚举类
 *
 * @author gaorimao
 * @since 2021-3-13
 */
@Getter
public enum CodeMessageEnum {
	SUCCESS(200,"操作成功！"),
	USERNAME_OR_PASSWORD_ERROR(1,"用户名或密码错误，请重新登陆！"),
	;
	
	private int code;
	private String message;
	
	CodeMessageEnum(int code,String message){
		this.code = code;
		this.message = message;
	}
}
